#include <iostream>
#include <vector>

#include "AVLTree.hpp"

using namespace std;
using namespace Yohifo;


int main()
{
	//vector<int> v = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };
	vector<int> v = { 4, 2, 6, 1, 3, 5, 15, 7, 16, 14 };
	AVLTree<int, int> tree;

	for (auto e : v)
		tree.insert(make_pair(e, 0));

	cout << tree.isBlanceTree() << endl;
	
	return 0;
}